
const routes = [
  {
    path: '/',
    component: () => import('layouts/MainLayout.vue'),
    children: [
      { path: '', component: () => import('pages/IndexPage.vue') },
      { path: "/project", component: () => import("pages/ProjectListManage.vue") },
      { path: "/project_detail", component: () => import("pages/ProjectDetailManage.vue") },
      { path: "/page_config", component: () => import("pages/PageConfigManage.vue") },
      { path: "/main_mange", component: () => import("pages/MainPointManage.vue") },
      { path: "/sub_mange", component: () => import("pages/SubPointManage.vue") },
      { path: "/task", component: () => import("pages/TaskManage.vue") },
    ]
  },

  // Always leave this as last one,
  // but you can also remove it
  {
    path: '/:catchAll(.*)*',
    component: () => import('pages/ErrorNotFound.vue'),
  }
]

export default routes
